package com.niit.mapper;

import com.niit.pojo.Dept;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @program: springcloud
 * @description:
 * @author: XZQ
 * @create: 2019-12-01 21:13
 **/
@Mapper
@Repository
public interface DeptMapper {

    boolean addDept(Dept dept);

    Dept queryById(Long id);

    List<Dept> queryAll();

    void deleteById(Long id);
}
